/**
 * Created by seeker910 on 2014/8/23.
 * @description 组件名称命名约定：继承container组件，名称以ViewPart结尾;继承control组件，名称以Part结尾
 * 关联商品
 */
Rsd.define('Rsd.hermit.sections.RelatedProductPart', {
    extend: 'Rsd.control.List',
    requires: [
        'Rsd.hermit.sections.ProductItemViewPart'
    ],
    xtype:'related-product',  
    domEditable:true,
     /**
     * @description true:表示只允许在模板中修改
     */
    editInMaster:false,
    //itemStyle:{height:'60px',lineHeight:'60px'} ,
    label:{ 
        cls:'x-t-header',
        position:'top',
        align:'center',
        height:40,
        space:1
    },
    dataSource:null,
    layout:'hbox', 
    itemXtype:'product-item-view',
    itemStyle:{
         padding:'10px'
    },
    /*
    * */
    constructor: function RelatedProductPart(config) {

        config = config || {};
        this.apply(config);
    } 
});
